package cn.com.jsepc.rep.vo;

public class DemTreeVO1 {
	private String id;
	private String text;
	private String code;
	private String pid;
	private String level;
	private boolean leaf;
	private String cls;
	private String icon;
	private boolean expanded;
    private boolean checked;
        
	public DemTreeVO1(){}
	public DemTreeVO1(String id, String text, boolean leaf){
		this.id = id;
		this.text = text;
		this.leaf = leaf;
		
	}
	
	public boolean isExpanded() {
		return expanded;
	}
	public void setExpanded(boolean expanded) {
		this.expanded = expanded;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getCls() {
		return cls;
	}
	public void setCls(String cls) {
		this.cls = cls;
	}
	
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getId() {
		return id;
	}
	public void setId(String nodeid) {
		this.id = nodeid;
	}
	
       

    public void setCheck(boolean b) {
        this.checked=b;
    }
    public boolean getCheck(){
        return this.checked;
    }
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
}

